package com.example.springboot.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 功能：
 * 作者：邓盛典
 * 日期：2024/8/16 1:39
 */
@Data
@TableName("book_categories")
public class Book_Categories {
    @TableId(type = IdType.AUTO)
    @Alias("序号")
    private Long id;
    @Alias("分类名称")
    private String category_name;
    @Alias("子分类名称")
    private String subcategory_name;
    @Alias("特定项")
    private String specific_item;

    public String getCategoryName() {
        return category_name;
    }

    public void setCategoryName(String categoryName) {
        this.category_name = categoryName;
    }

    public String getSubcategoryName() {
        return subcategory_name;
    }

    public void setSubcategoryName(String subcategoryName) {
        this.subcategory_name = subcategoryName;
    }

    public String getSpecificItem() {
        return specific_item;
    }

    public void setSpecificItem(String specificItem) {
        this.specific_item = specificItem;
    }
}